class CreateEntities < ActiveRecord::Migration
  def self.up
    create_table :entities do |t|	       
      t.string 	:name
      t.string 	:description
      t.string 	:audio_welcome
      t.string 	:tagline
	  t.string 	:type			# User or Group
	  t.string 	:group_type		# for groups only eg charity, sports, business
	  t.date 	:date_of_birth		# for users only
	  t.string 	:gender			# for users only
	  t.string	:hashed_password
	  t.string	:salt
	  t.string	:email

      t.timestamps
    end
  end

  def self.down
    drop_table :entities
  end
end
